var express=require('express');
var app=express();
var router=require('./router');
var bodyParser = require("body-parser");
//自动更新
var debug = require('debug')('my-application');

app.use(bodyParser.urlencoded({
    extended: true
}));


app.use('/',router)


app.listen(3000,function(){
    debug('Express server listening on port ' + 3000);
})